package com.andkrup.test {

	/**
	 * @author Andkrup
	 */
	public function assert(expression:Boolean, assumption:String = null):void{
		if(!expression){
			throw new Error("Assertion error"+(assumption ? assumption : ""));
		}
		else{
			trace("assert() assumption confirmed "+(assumption ? assumption : ""));
		}
	}
}
